using System.Threading.Tasks;

namespace DocumentCreationSystem.Services
{
    /// <summary>
    /// 模型转换服务：编排外部工具将模型转换为 onnx / ggml / gguf
    /// </summary>
    public interface IModelConversionService
    {
        /// <summary>将 pth/safetensors 转换为 onnx</summary>
        Task<bool> ConvertToOnnxAsync(string inputPath, string outputPath, string pythonExe, string scriptPath, string extraArgs = "");

        /// <summary>将 pth 转换为 rwkv.cpp 兼容格式（ggml/gguf/bin）</summary>
        Task<bool> ConvertToCppFormatAsync(string inputPath, string outputPath, string pythonExe, string scriptPath, string format, string extraArgs = "");
    }
}

